package com.zhou.framework.quartz.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import java.io.Serializable;
import java.util.List;

/**
 * @author lang.zhou
 * @since 2023/2/23
 */
@Data
public class QuartzSaveDto implements Serializable {
    private static final long serialVersionUID = 1L;

    @NotBlank(message = "任务名不能为空")
    @Size(max = 100)
    private String jobName;
    private String jobClassName;
    private String cronExpression;
    private Integer operator;
}
